import Vue from 'vue'
import App from './App'
import store from './store/index.js'
import uView from 'uview-ui'
import './uni.promisify.adaptor'
Vue.use(uView)
Vue.config.productionTip = false
/* 无权限提示，非业务功能 */
Vue.prototype.$showNoAuthMsg = () => {
  wx.showToast({
    title: "亲！你没有权限!,想获得所有权限，请联系咨询老师，获取代码",
    icon: "none",
    duration: 2000,
  });
}

App.mpType = 'app'

const app = new Vue({
  ...App,
  store
})
app.$mount()
